﻿<UserControl x:Class="XWord.GUI.Views.Fundamental.EtymaCategoryExplorerView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:cal="http://www.caliburnproject.org"
             xmlns:inf="http://www.grandsys.com/luna"
             xmlns:info="http://schemas.xword.com/winfx/xaml/info"
             xmlns:uc="clr-namespace:XWord.GUI.UserControls"
             xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             xmlns:shared="http://schemas.actiprosoftware.com/winfx/xaml/shared"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300">
    <inf:DockingWindowMetadata.Instance>
        <inf:DockingWindowMetadata Title="词根词缀" IsToolWindow="True" DefaultDock="Right"
                                    CanClose="False" CreateNewDockingGroup="True" />
    </inf:DockingWindowMetadata.Instance>
    <Grid>
        <!--<Grid.RowDefinitions>
            <RowDefinition Height="*"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>-->
        <TabControl TabStripPlacement="Left">
            <TabItem Header="前缀">
                <ListBox  DisplayMemberPath="Name" ItemsSource="{Binding PrefixEtymaList}">

                </ListBox>
            </TabItem>
            <TabItem Header="词根">
                <ListBox  DisplayMemberPath="Name" ItemsSource="{Binding EtymonList}">
                </ListBox>
            </TabItem>
            <TabItem Header="后缀">
                <ListBox  DisplayMemberPath="Name" ItemsSource="{Binding SuffixEtymaList}">

                </ListBox>
            </TabItem>
        </TabControl>
        <!--<DockPanel>
        <shared:AnimatedExpander Header="前缀" DockPanel.Dock="Top">
            <ListBox  DisplayMemberPath="Name" ItemsSource="{Binding PrefixEtymaList}">
                
            </ListBox>
        </shared:AnimatedExpander>
            <shared:AnimatedExpander Header="前缀" DockPanel.Dock="Bottom">
                <ListBox  DisplayMemberPath="Name" ItemsSource="{Binding PrefixEtymaList}">

                </ListBox>
            </shared:AnimatedExpander>
        </DockPanel>-->
        <!--<TreeView VirtualizingStackPanel.IsVirtualizing="True" BorderThickness="0">
            <TreeViewItem DisplayMemberPath="Name" Header="前缀" ItemsSource="{Binding PrefixEtymaList}">
                
            </TreeViewItem>
        </TreeView>
            <TreeView VerticalAlignment="Top" Grid.Row="1" VirtualizingStackPanel.IsVirtualizing="True" BorderThickness="0">
                <TreeViewItem DisplayMemberPath="Name" Header="后缀" ItemsSource="{Binding SuffixEtymaList}">
                </TreeViewItem>
            </TreeView>-->
        
    </Grid>
</UserControl>
